
<div class="row">
	<fieldset>
	<legend class="label">Update Existing Room</legend>
	<?if(isset($system_message))echo $system_message;?>
	<?php 
		$formAttrib = array('id' => 'addroom', 'class' => 'admin-form');
		echo form_open('rss-edit-room/'.$room->room_id, $formAttrib);
	?>
    <div class="input-block">
		<label>Assigned Section:</label>
		<input type="text" value="<?=$room->section_name;?>" disabled>
	</div>
	
    <div class="input-block">
		<label>Room Name:</label>
		<input type="text" name="room_name" value="<?=$room->room_name;?>">
    </div>
    
	<div class="input-block">
		<label>Room Description</label>
		<textarea name="room_desc" id="description" style="min-width:300px;max-width:300px;min-height:250px;"><?=set_value('room_desc',$room->room_desc);?></textarea>
    </div>
   
   <div class="input-block" style="clear:both;">
		<input type="hidden" name="room_id" value="<?=$room->room_id;?>">
   		
   		<?php echo form_submit('save', 'Save','class="btn btn-small btn-primary"'); ?>
		<a href="<?=site_url('rss-rooms');?>" class="btn">Back to Rooms</a>
	</div>
	</fieldset>
</div>
